/*
 * Mesh.h
 *
 *  Created on: 20-dec.-2013
 *      Author: Axel
 */

#ifndef MESH_H_
#define MESH_H_

#include "algebraBasic.h"
#include "ModelView.h"

#include "Shapes.h"

/**
 * Holds all the vertex data
 */
class Mesh {
public:
	Mesh(float x, float y, float z=0);
	~Mesh();

	void move(float x, float y, float z=0);
	Vector4f getLocation();

	//different standards
	void makeCube(float width);
	void makeRect(float width, float height);
	void makeCircle(float width);

	void drawFigure();

private:
	vertix edge;
	indix index;
	colors col;

	ModelView* model;
	Shapes* shape;
};

#endif /* MESH_H_ */
